import { defineStore } from 'pinia'

export const useGlobal = defineStore('global', {
  state: () => ({
    scale: { x: 1, y: 1 },
  }),
  actions: {
    setScale(scale) {
      this.scale = scale
    },
  },
  persist: true,
})
